//
//  DB.h
//  Kaoshiti
//
//  Created by lanou3g on 15/10/22.
//  Copyright (c) 2015年 张蒙恩. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "OneDetailModel.h"
@interface DB : NSObject

+ (instancetype)manager;

- (void)openDB;
- (void)closeDB;
- (void)createTable;
- (void)insertModel:(OneDetailModel *)model;
- (void)deleteAllModel;
- (NSArray *)selectAllModel;
@end
